package dr.member.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import dr.controller.*;

public class LoginAction extends ActionSupportLogin {

	@Override
	public String execute(HttpServletRequest request,
			HttpServletResponse response) throws Throwable {
		
		String id=getUserLoginId(request);
		if(id == null) return LOGINFORM_PATH;
		
		request.setAttribute("memId",id);
		return "/index.jsp";
	}

}
